<?phpinclude('../api.php');include('nickname.php');$file = __DIR__ . '/email.txt';//邮箱号写入txt文档$api = new bt_api();$number=10;//批量添加的数量$host='@abc.com';//你的邮箱域名for ($i = 0; $i < $number; $i++) {    $email = createRandomStr(8).$host;//随机生成邮箱账号    $arry=generate_name();//随机生成昵称    $r_data = $api->EmailAdd($email,$arry);    $context = $email.PHP_EOL;    file_put_contents($file, $context, FILE_APPEND | LOCK_EX);//写入txt文档    var_dump($r_data);}?>